import request from '@/utils/request'

// 查询联网收费切入数据实测统计列表
export function listTollAccessStat(query) {
  return request({
    url: '/function/TollAccessStat/list',
    method: 'get',
    params: query
  })
}

// 查询联网收费切入数据实测统计详细
export function getTollAccessStat(id) {
  return request({
    url: '/function/TollAccessStat/' + id,
    method: 'get'
  })
}

// 新增联网收费切入数据实测统计
export function addTollAccessStat(data) {
  return request({
    url: '/function/TollAccessStat',
    method: 'post',
    data: data
  })
}

// 修改联网收费切入数据实测统计
export function updateTollAccessStat(data) {
  return request({
    url: '/function/TollAccessStat',
    method: 'put',
    data: data
  })
}

// 删除联网收费切入数据实测统计
export function delTollAccessStat(id) {
  return request({
    url: '/function/TollAccessStat/' + id,
    method: 'delete'
  })
}

// 导出联网收费切入数据实测统计
export function exportTollAccessStat(query) {
  return request({
    url: '/function/TollAccessStat/export',
    method: 'post',
    params: query,
    responseType: 'blob'
  })
}
